type UserInfoSummary = {
  userId: number;
  nickname: string;
  avatar: string;
};

type PostCollection = {
  id: number;
  title: string;
  updatable: boolean;
};

type Post = {
  id: number;
  author?: UserInfoSummary | null | undefined;
  collection?: PostCollection | null | undefined;
  title: string;
  type: PostType;
  content: string;
  createTime: string;
  updatable: boolean;
};
